package com.ruoyi.web.ydz.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 直播记录对象 live_broadcast
 * 
 * @author ruoyi
 * @date 2024-12-24
 */
public class LiveBroadcast extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 直播标题 */
    @Excel(name = "直播标题")
    private String title;

    /** 直播时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "直播时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date liveTime;

    /** 直播平台 */
    @Excel(name = "直播平台")
    private String livePlatform;

    /** 会议号 */
    @Excel(name = "会议号")
    private String mettingCode;

    /** 浏览量 */
    @Excel(name = "浏览量")
    private Long hits;

    /** 直播描述 */
    private String content;

    /** 创建人名称 */
    @Excel(name = "创建人名称")
    private String createName;

    /** 更新人名称 */
    @Excel(name = "更新人名称")
    private String updateName;

    /** 是否删除（0否；1是） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setTitle(String title) 
    {
        this.title = title;
    }

    public String getTitle() 
    {
        return title;
    }
    public void setLiveTime(Date liveTime) 
    {
        this.liveTime = liveTime;
    }

    public Date getLiveTime() 
    {
        return liveTime;
    }
    public void setLivePlatform(String livePlatform) 
    {
        this.livePlatform = livePlatform;
    }

    public String getLivePlatform() 
    {
        return livePlatform;
    }
    public void setMettingCode(String mettingCode) 
    {
        this.mettingCode = mettingCode;
    }

    public String getMettingCode() 
    {
        return mettingCode;
    }
    public void setHits(Long hits)
    {
        this.hits = hits;
    }

    public Long getHits()
    {
        return hits;
    }
    public void setContent(String content)
    {
        this.content = content;
    }

    public String getContent()
    {
        return content;
    }
    public void setCreateName(String createName) 
    {
        this.createName = createName;
    }

    public String getCreateName() 
    {
        return createName;
    }
    public void setUpdateName(String updateName) 
    {
        this.updateName = updateName;
    }

    public String getUpdateName() 
    {
        return updateName;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("title", getTitle())
            .append("liveTime", getLiveTime())
            .append("livePlatform", getLivePlatform())
            .append("mettingCode", getMettingCode())
            .append("hits", getHits())
            .append("content", getContent())
            .append("createBy", getCreateBy())
            .append("createName", getCreateName())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateName", getUpdateName())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
